package visitorxaj;

public class PrintVisitor implements Visitor {

	public void visit(Sum expr) {
		System.out.print(expr.toString());
	}

	public void visit(Mult expr) {
		System.out.print(expr.toString());
	}

	public void visit(Number expr) {
		System.out.print(expr.toString());		
	}

}
